package engine.newUi
{
	import engine.flag.ResourcesPath;
	import engine.ui.lite.BaseUI;
	
	import flash.display.DisplayObjectContainer;
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.comboBox.NxComboBox;
	import newx.com.control.text.NxLabel;

	/**
	 *帮派战礼包分配
	 * @author liuel
	 * 
	 */	
	public class FactionBattleGiftUI extends BaseUI
	{
		private static var _self 				:FactionBattleGiftUI;
		
		public var label1						:NxLabel;
		public var label2						:NxLabel;
		public var label3						:NxLabel;
		
		public var mc1							:MovieClip
		public var mc2							:NxClip
		public var mc3							:NxClip
		public var mc4							:NxClip
		
		public var combos1						:NxComboBox;
		public var combos2						:NxComboBox;
		public var combos3						:NxComboBox;
		
		public var assign						:NxButton;
		public var state1						:NxLabel;
		public var state2						:NxLabel;
		public var state3						:NxLabel;
		
		
		public var infolabel:NxLabel;
		public static function getInstance():FactionBattleGiftUI
		{
			if(_self == null)
			{
				_self = new FactionBattleGiftUI();
			}
			return _self;
		}
		public function FactionBattleGiftUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function  Init():void
		{
			state1.visible =state2.visible =state3.visible =false;
			FactionBattleGiftLogic.getInstance().Init();
		}
		override protected function	BeforeShow():void
		{
			FactionBattleGiftLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			FactionBattleGiftLogic.getInstance().AfterHide();
		}
	}
}